package com.sdy.kzyy.biz.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author zzq
 * @since 2020-03-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class StoreInventory extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;

    /**
     * 药店编码
     */
    private String storeCode;

    /**
     * 单天可预约口罩数量
     */
    private Integer kzCount;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date updateTime;

    /**
     * 单次可预约口罩数量
     */
    private Integer onceCount;

    /**
     * 更新版本
     */
    private Integer version;

    /**
     * 存货-不变，可修改
     */
    private Integer allCount;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    /**
     * 次日补货量
     */
    private Integer replenishNextDay;

}
